// 模块
const name = 'bar'
const age = 18

let message = `${name}: ${age}`

function say(name) {
  console.log('Hello', name)
}

setTimeout(() => {
  exports.name = 'xx'
})

// exports.name = name
// exports.age = age
// exports.message = message
// exports.say = say

 
module.exports = {
  name,
  age,
  message,
  say
}